package com.itheima.test1110work2;
//猫头鹰 子类
public class bird2 extends Bird{
    private String time;

    public bird2(String kind, double weight, String sound, double speed, String time) {
        super(kind, weight, sound, speed);
        this.time = time;
    }
    public bird2(){}

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }
}
